﻿using BonjourQuotation.UI.Models.BaseModel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Web.WebPages.Html;

namespace BonjourQuotation.UI.Models.PartialModel
{
    public class QuotationEntranceGridViewModel : UserAllPermissionsViewModel
    {
        public bool QuotaEntranceConfirmed { get; set; }
        public List<QuotationEntranceGridRowViewModel> Rows { get; set; }
        [DisplayName("Guide:")]
        public string GuideSum { get; set; }
        [DisplayName("Free:")]
        public string FreeSum { get; set; }
        [DisplayName("PP:")]
        public string PPSum { get; set; }
        [DisplayName("PG:")]
        public string PGSum { get; set; }
        [DisplayName("Total PP:")]
        public string TotalPPSum { get; set; }
        [DisplayName("Total PG:")]
        public string TotalPGSum { get; set; }
        public string QuotaEntranceErrorMessage { get; set; }
        public string QuotaEntranceErrorCode { get; set; }
    }
    public class QuotationEntranceGridRowViewModel
    {
        public int EntranceID { get; set; }
        public string VendorID { get; set; }
        public string QuotaID { get; set; }
        public string LineNo { get; set; }
        public string Day { get; set; }
        public string LineDate { get; set; }
        public string DescriptionEntrance { get; set; }
        public bool EntranceMFlag { get; set; }
        public string Cost { get; set; }
        public bool GuideFlag { get; set; }
        public bool FreeFlag { get; set; }
        public string CostG { get; set; }
        public string CurrencyEntrance { get; set; }
    }
}